package com.dobbinsoft.iotechn.device.mapper;

import com.dobbinsoft.iotechn.data.mapper.IMapper;
import com.dobbinsoft.iotechn.device.domain.DeviceDataDO;
import com.dobbinsoft.iotechn.device.dto.DeviceDataDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Description:
 * User: rize
 * Date: 2020/6/17
 * Time: 15:01
 */
public interface DeviceDataMapper extends IMapper<DeviceDataDO> {

    public Integer batchInsert(@Param("deviceId") Long deviceId, @Param("list") List<DeviceDataDO> list);

    public List<DeviceDataDTO> getDeviceDataList(@Param("deviceId") Long deviceId);

}
